package com.yh.homestay.common;

import com.yh.homestay.pojo.GuestsCar;

import java.io.Serializable;

public class GuestsCarEditResult implements Serializable {
    private Integer code;
    private String  msg;
    private GuestsCar guestsCar;
    public GuestsCarEditResult(Integer code, String msg, GuestsCar guestsCar) {
        this.code = code;
        this.msg = msg;
        this.guestsCar = guestsCar;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public GuestsCar getGuestsCar() {
        return guestsCar;
    }

    public void setGuestsCar(GuestsCar guestsCar) {
        this.guestsCar = guestsCar;
    }

    @Override
    public String toString() {
        return "CarEditResult{" +
                "code=" + code +
                ", msg='" + msg + '\'' +
                ", guestsCar=" + guestsCar +
                '}';
    }
}
